package com.example.myapplication15_3;

public class Student {
    private String name;
    private float score;

    // 默认构造函数（用于JSON解析）
    public Student() {
    }

    public Student(String name, float score) {
        this.name = name;
        this.score = score;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public float getScore() {
        return score;
    }

    public void setScore(float score) {
        this.score = score;
    }
} 